<template>
  <el-input style="width: 300px;" class="w-50 m-2" placeholder="请输入内容" :prefix-icon="Search" max="15"
            change=""></el-input>
  <el-button success>搜索</el-button>
  <div style="float: right">
    <el-button type="danger" @click="showDelete=0" v-if="showDelete">批量删除</el-button>

    <template v-else>
      <el-button @click="showDelete=1">取消</el-button>
      <el-button>确定</el-button>
      <el-button>全选</el-button>
    </template>
  </div>
</template>

<script lang="ts">
import {defineComponent} from "vue";

export default defineComponent({
  name: "title",
});
</script>

<script setup lang="ts">
import {ref} from 'vue'

const showDelete = ref(1)
</script>

<style scoped>

</style>
